import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 高生平
 * Date: 2025-09-15
 * Time: 17:58
 */
public class Date {
    public int year;
    public int month;
    public int day;

    public void setDay (int year, int month, int day) {
        this.year = year;
        this.month = month;
        this.day =day;
    }

    public void printDate() {
        System.out.println(this.year + "年" + this.month + "月" + this.day + "日") ;
    }

    public static void main(String[] args) {
        Date day1 = new Date();
        Date day2 = new Date();
        day1.setDay(2025,9,5);
        day2.setDay(2008,8,8);
        day1.printDate();
        day2.printDate();
    }
}
